package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 奖品配置对象 prizes
 * 
 * @author ruoyi
 * @date 2025-06-11
 */
public class Prizes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 奖品名称 */
    @Excel(name = "奖品名称")
    private String name;

    /** 类型(1实物/2虚拟) */
    @Excel(name = "类型(1实物/2虚拟)")
    private Long type;

    /** 总库存 */
    @Excel(name = "总库存")
    private Long totalStock;

    /** 每日限量(0表示无限制) */
    @Excel(name = "每日限量(0表示无限制)")
    private Long dailyLimit;

    /** 项目ID */
    @Excel(name = "项目ID")
    private String projectId;

    /** 权重值 */
    @Excel(name = "权重值")
    private Long weight;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    public void setTotalStock(Long totalStock) 
    {
        this.totalStock = totalStock;
    }

    public Long getTotalStock() 
    {
        return totalStock;
    }

    public void setDailyLimit(Long dailyLimit) 
    {
        this.dailyLimit = dailyLimit;
    }

    public Long getDailyLimit() 
    {
        return dailyLimit;
    }

    public void setProjectId(String projectId) 
    {
        this.projectId = projectId;
    }

    public String getProjectId() 
    {
        return projectId;
    }

    public void setWeight(Long weight) 
    {
        this.weight = weight;
    }

    public Long getWeight() 
    {
        return weight;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("totalStock", getTotalStock())
            .append("dailyLimit", getDailyLimit())
            .append("projectId", getProjectId())
            .append("weight", getWeight())
            .toString();
    }
}
